<%@ Page Language="C#" AutoEventWireup="true" CodeFile="selectType.aspx.cs" Inherits="Private_CMS_main_actions_addnew_selectType" %>
<%@ Register TagPrefix="flux" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>
<html>
<head runat="server">
	<link href="../../../../../Asset/Style/GeneralStyle.css" rel="stylesheet" type="text/css" />
	<link href="../../localstyle.css" rel="stylesheet" type="text/css" />
</head>
<body class="nopadshaded">

<form id="form1" runat="server">
<flux:HostTable runat="server">

<%-- Summary --%>
<flux:ValidationSummarySection runat="server" HeaderText="Please correct the following errors"/>

<%-- Form area --%>
<flux:Section runat="server" WithFooter="true" Title="Select content type to add">
<flux:ShadePadBox runat="server" CssClass="infoarea">

	<asp:ListBox runat="server" ID="fAvailableTypes" Width="100%" Height="250px"/>

</flux:ShadePadBox>
</flux:Section>

<%-- Buttons --%>
<flux:Section runat="server">
<flux:PadBox CssClass="Pad5Button" runat="server">
	<asp:Button runat="server" ID="btnNext" Text="Next" OnClick="btnNext_Click"/>&nbsp;&nbsp;&nbsp;
	<asp:Button runat="server" ID="btnCancel" Text="Cancel" OnClick="btnCancel_Click" CausesValidation="False"/>
</flux:PadBox>
</flux:Section>

<%-- Validators --%>
<asp:RequiredFieldValidator Runat="server" ControlToValidate="fAvailableTypes" 
	ErrorMessage="You must choose a type of content to add" Display="None"/>

</flux:HostTable>

</form>
</body>
</html>
